projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37eb7f
)
Set serial when filtering XI_KeyPress events
author
Po Lu
<luangruo@yahoo.com>
Thu, 25 Nov 2021 05:20:56 +0000
(13:20 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 25 Nov 2021 05:20:56 +0000
(13:20 +0800)
This fixes fcitx flicker for whatever reason.
* src/xterm.c (handle_one_xevent): Set serial when filtering
XI_KeyPress events.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 346cd0c38a4df26c2223c3074f5a1a5d7052d005..0a3aeeed7035e51bc1919acc0471eaba03e22657 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-10648,7
+10648,7
@@
handle_one_xevent (struct x_display_info *dpyinfo,
memset (&xkey, 0, sizeof xkey);
xkey.type = KeyRelease;
- xkey.serial =
0
;
+ xkey.serial =
xev->serial
;
xkey.send_event = xev->send_event;
xkey.display = xev->display;
xkey.window = xev->event;